const superAdminRoutes = [
  {
    path: '/workbench',
    name: 'workbench',
    component: () => import('@/views/workbench/index.vue'),
    meta: {
      title: '工作台',
      icon: 'House',
      active: 'workbench'
    }
  },
  {
    path: '/customer',
    name: 'customer',
    component: () => import('@/views/customerManage/index.vue'),
    meta: {
      title: '客户管理',
      icon: 'User'
    },
    redirect: {
      name: 'customerList'
    },
    children: [
      {
        path: 'list',
        name: 'customerList',
        component: () => import('@/views/customerManage/CustomerList.vue'),
        meta: {
          title: '客户列表',
          active: 'customerList'
        }
      },
      {
        path: 'list/detail',
        name: 'customerDetail',
        hidden: true,
        component: () => import('@/views/customerManage/CustomerDetail.vue'),
        meta: {
          title: '客户详情',
          active: 'customerList'
        }
      }
    ]
  },
  {
    path: '/feeCenter',
    name: 'feeCenter',
    component: () => import('@/views/feeCenter/index.vue'),
    meta: {
      title: '费用中心',
      icon: 'Money'
    },
    redirect: {
      name: 'orderList'
    },
    children: [
      {
        path: 'orderList',
        name: 'orderList',
        component: () => import('@/views/feeCenter/OrderList.vue'),
        meta: {
          title: '订单列表',
          active: 'orderList'
        }
      },
      {
        path: 'orderList/detail',
        name: 'orderDetail',
        hidden: true,
        component: () => import('@/views/feeCenter/OrderDetail.vue'),
        meta: {
          title: '订单详情',
          active: 'orderList'
        }
      },
        
      {
        path: 'voucherList',
        name: 'voucherList',
        component: () => import('@/views/feeCenter/VoucherList.vue'),
        meta: {
          title: '算力券账单',
          active: 'voucherList'
        }
      },
      {
        path: 'Revenuestatement',
        name: 'Revenuestatement',
        component: () => import('@/views/feeCenter/Revenuestatement.vue'),
        meta: {
          title: '收益账单',
          active: 'Revenuestatement'
        }
      },
       {
        path: 'RevenueDetail/detail',
        name: 'RevenueDetail',
        hidden: true,
        component: () => import('@/views/feeCenter/RevenueDetail.vue'),
        meta: {
          title: '收益账单详情',
          active: 'RevenueDetail'
        }
      },
      // {
      //   path: 'bill',
      //   name: 'bill',
      //   component: () => import('@/views/feeCenter/Bill.vue'),
      //   meta: {
      //     title: '激励账单',
      //     active: 'bill'
      //   }
      // },
      // {
      //   path: 'bill/detail',
      //   name: 'billDetail',
      //   hidden: true,
      //   component: () => import('@/views/feeCenter/BillDetail.vue'),
      //   meta: {
      //     title: '激励详情',
      //     active: 'bill'
      //   }
      // }
    ]
  },
  {
    path: '/partnerCenter',
    name: 'partnerCenter',
    component: () => import('@/views/partnerCenter/index.vue'),
    meta: {
      title: '合作伙伴',
      icon: 'Setting'
    },
    redirect: {
      name: 'partnerList'
    },
    children: [
      {
        path: 'partnerList',
        name: 'partnerList',
        component: () => import('@/views/partnerCenter/PartnerList.vue'),
        meta: {
          title: '伙伴列表',
          active: 'partnerList'
        }
      },
      {
        path: 'partnerList/detail',
        name: 'partnerDetail',
        hidden: true,
        component: () => import('@/views/partnerCenter/PartnerDetail.vue'),
        meta: {
          title: '伙伴详情',
          active: 'partnerList'
        }
      },
      {
        path: 'policy',
        name: 'policy',
        component: () => import('@/views/partnerCenter/Policy.vue'),
        meta: {
          title: '政策设置',
          active: 'policy'
        }
      },
      {
        path: 'notice',
        name: 'notice',
        component: () => import('@/views/partnerCenter/Notice.vue'),
        meta: {
          title: '公告设置',
          active: 'notice'
        }
      }
    ]
  },
  {
    path: '/message',
    name: 'message',
    hidden: true,
    component: () => import('@/views/message/index.vue'),
    meta: {
      title: '消息中心'
    }
  },
  {
    path: '/logger',
    name: 'logger',
    component: () => import('@/views/logger/index.vue'),
    meta: {
      title: '操作日志',
      icon: 'Document',
      active: 'logger'
    }
  }
];

export default superAdminRoutes;
